package com.yanfan.energy.mapper;

import com.yanfan.common.mybaitsPlus.mapper.BaseMapperPlus;
import com.yanfan.energy.domain.IbmsEnergyDevice;
import com.yanfan.ibms.common.vo.DeviceVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 能耗设备Mapper接口
 *
 * @author genluo
 * @date 2024-09-18
 */
public interface IbmsEnergyDeviceMapper extends BaseMapperPlus<IbmsEnergyDevice> {


    /**
     * 查询能耗设备列表  方便为了连表查询
     *
     * @param ibmsEnergyDevice 能耗设备
     * @return 能耗设备集合
     */
    public List<IbmsEnergyDevice> queryPageList(IbmsEnergyDevice ibmsEnergyDevice);


    public List<DeviceVo> selectByDeviceType(@Param("deviceType") String deviceType, @Param("isBusiness") String deptType);

    public List<IbmsEnergyDevice> selectDeviceList();
}
